/*-----HEADER-----*/
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Espaça os elementos uniformemente, deixando o botão no canto direito */
    background-color: #104181; /* Cor de fundo da barra de navegação */
    padding: 10px 20px; /* Ajuste de padding para melhor alinhamento */
}

header {
    background-color: #104181;
    color: white;
    padding: 10px 20px;
    display: flex; /* Torna o header um container flexível */
    justify-content: left; /* Centraliza o containerH horizontalmente */
}

/* CSS para o container */
.containerH {
    width: 100%;
    display: flex; /* Torna o container um container flexível */
    justify-content: space-between; /* Distribui os itens (logo e menu) com espaço entre eles */
    align-items: center; /* Alinha os itens verticalmente no centro */
}

.logo a {
    text-decoration: none; /* Remove o sublinhado do link */
    display: flex; /* Para alinhar a imagem e o texto lado a lado */
    align-items: center; /* Alinha verticalmente a imagem e o texto */
}

.logo img {
    height: 75px;
}

.logo span {
    font-size: 24px; /* Tamanho da fonte do texto */
    font-weight: bold; /* Negrito para destacar o texto */
    color: #ffffff; /* Cor do texto */
}

nav {
    text-align: right; /* Alinha os itens de navegação à direita */
    font-size: 15px;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-right: 20px; /* Espaçamento entre os itens de navegação */
}

nav ul li:last-child {
    margin-right: 0; /* Remove a margem do último item */
}

.nav-link {
    text-decoration: none;
    color: white;
    position: relative;
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

.nav-link:hover::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: white;
}

.nav-link.active {
    font-weight: bold; /* Aplica negrito quando a classe active estiver presente */
}

.nav-link.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: white; /* A linha branca fica visível embaixo do texto */
}

/* FOOTER */

footer {
    background-color: #104181; /* Cor de fundo conforme o seu código original */
    text-align: center;
    padding: 10px;
    font-family: Arial, sans-serif;
    margin-top: auto; /* Faz o footer empurrar para baixo */
}

footer .social-icons {
    margin: 8px 0;
}

footer .social-icons a {
    display: inline-block; /* Alinha os ícones horizontalmente */
}

footer .social-icons img {
    width: 40px; /* Tamanho dos ícones sociais */
    margin: 0 12px; /* Espaçamento entre os ícones */
    display: block; /* Remove o espaço extra abaixo das imagens */
    /* padding: 5px; Espaço interno entre a borda e o ícone */
    border-radius: 50%; /* Borda arredondada ao redor dos ícones sociais */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.644); /* Sombra uniforme em todos os lados */
}

footer p {
    font-size: 14px;
    margin: 5px 0;
    color: #ffff;
}

/*-----LOGIN & REGISTER-----*/

html, body {
    height: 100%; /* Garante que o body ocupe toda a altura da página */
    margin: 0; /* Remove margens padrão */
}

body{
    background-color: #DDEEF6;
    display: flex;
    flex-direction: column; 
}

.page {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: #DDEEF6;
    padding-top: 3%;
    padding-bottom: 5%; 
}

.formLogReg {
    display: inline-flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 7px;
    padding: 40px;
    box-shadow: 10px 10px 40px rgba(0, 0, 0, 0.4);
    gap: 5px
}

.formLogReg h1 {
    padding: 0;
    margin: 0;
    font-weight: 500;
    font-size: 2.3em;
    text-align: center;
}

.formLogReg p {
    display: inline-block;
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.formLogReg input {
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
    margin-top: 5px;
    border-radius: 4px;
    transition: all linear 160ms;
    outline: none;
}

.formLogReg input:focus {
    border: 1px solid #104181;
}

.formLogReg label {
    font-size: 14px;
    font-weight: 600;
}

.formLogReg a, h3 {
    display: inline-block;
    font-size: 14px;
    color: #555;
    text-align: center;
}

.formLogReg a:hover {
    color: #104181;
}

.formLogReg select {
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
    margin-top: 5px;
    border-radius: 4px;
    transition: all linear 160ms;
    outline: none;
    background-color: white;
    appearance: none; /* Remove o estilo padrão */
    -webkit-appearance: none; /* Para navegadores baseados no WebKit */
    -moz-appearance: none; /* Para Firefox */
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 6"><polygon fill="gray" points="0,0 5,6 10,0"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    background-size: 10px;
}

.formLogReg select:focus {
    border: 1px solid #104181;
}

.btn {
    background-color: #104181;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin: 10px;
    border: none !important;
    transition: all linear 160ms;
    cursor: pointer;

}

.btn:hover {
    background-color: #032857;
    color:  #DDEEF6;
}

.add-button {
    background-color: #104181; /* Cor de fundo conforme especificado */
    color: white; /* Cor do ícone */
    border-radius: 50%; /* Forma redonda */
    width: 40px; /* Tamanho do botão */
    height: 40px; /* Tamanho do botão */
    display: flex; /* Centraliza o ícone dentro do botão */
    justify-content: center; /* Centraliza horizontalmente */
    align-items: center; /* Centraliza verticalmente */
    font-size: 30px; /* Tamanho do ícone */
    text-decoration: none; /* Remove o sublinhado do link */
    margin: 10px;
}

.add-button a {
    color: white; /* Cor do sinal de mais */
    text-decoration: none; /* Remove sublinhado do link */
}


/* CSS para o ícone de senha */
.password-container {
    position: relative;
    display: flex;
    align-items: center;
}

/* Ajusta o campo de senha para permitir espaço para o ícone */
.password-container input {
    padding-right: 40px;
    width: 100%;
}

/* Estiliza o ícone dentro do campo de senha */
.password-container i {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-60%);
    font-size: 20px;
    cursor: pointer;
    color: #104181;
    user-select: none;
}

/* ---MESSAGE--- */
.align{
    display: flex;
    justify-content: center; 
    align-items: flex-start; 
    flex-direction: row; 
    flex-wrap: wrap-reverse; 
    align-content: space-around;
}

.msg-container {
    background-color: #DDEEF6;
    padding: 10px;
    width: 70%;
    align-items: center;
  }
  
  .msg {
    margin: 0 auto;
    padding: 10px;
    border: solid 1px #000;
    text-align: center;
    border-radius: 10px;
  }
  
  .msg.error {
    color: #842029;
    background-color: #F8D7DA;
    border-color: #F5C2C7;
  }
  
  .msg.success {
    color: #0F5132;
    background-color: #D1E7DD;
    border-color: #BADBCC;
  }

/* HOME */
#main-title{
    font-size: 28px;
    margin: 0;
    color: #104181;
    font-weight: bold;
    text-align: center;
    padding: 30px;
}

.title-section {
    display: flex;
    justify-content: space-between; /* Mantém o título e botões nos extremos */
    align-items: center; /* Centraliza verticalmente */
    padding-top: 40px;
    margin-bottom: 15px;
    width: 100%;
}

.title-with-icon {
    display: inline-flex;
    align-items: center; /* Faz o ícone ficar ao lado do título */
}

.title-section h1 {
    font-size: 28px;
    margin: 0;
    color: #104181;
    font-weight: bold;
}

.title-section span.info-icon {
    display: inline-block;
    margin-left: 10px; /* Ajusta o espaço entre o título e o ícone */
    border: none; /* Remove qualquer borda */
    box-shadow: none
}

.button-group {
    display: flex;
    align-items: center;
    gap: 10px; /* Espaço entre o botão e a barra de pesquisa */
}

.formButtons {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    background-color: #fff;
    border-radius: 7px;
    padding: 20px;
    width: 100%;
    margin-bottom: 20px;
    box-shadow: none;
}

.search-section {
    position: relative;
    width: auto;
}

#search {
    width: 250px; /* Tamanho da barra de pesquisa semelhante ao do botão */
    padding: 10px 50px 10px 20px; /* Espaço interno ajustado para o ícone */
    border-radius: 25px;
    background-color: #fff;
    font-size: 15px;
    outline: none;
    border: 1px solid #ccc;
    transition: all linear 160ms;
}

.search-icon {
    position: absolute;
    right: 5px; /* Ajustado para encostar no canto direito */
    top: 50%;
    transform: translateY(-50%);
    background-color: #104181; /* Cor de fundo do círculo */
    width: 40px; /* Definindo uma largura fixa */
    height: 40px; /* Definindo uma altura fixa */
    border-radius: 50%; /* Círculo perfeito */
    display: flex; /* Usando flexbox para centralizar o ícone */
    align-items: center; /* Centraliza verticalmente */
    justify-content: center; /* Centraliza horizontalmente */
    border: none; /* Remove qualquer borda */
    
}

.search-icon i {
    color: white; /* Cor do ícone */
    font-size: 16px; /* Tamanho do ícone */
}

.back-btn {
    color: #104181;
    font-size: 25px;
    text-align: left;
    border: none;
    background-color: #DDEEFF;
}

.bttn {
    padding: 10px 15px;
    font-size: 15px;
    font-weight: bold;
    background-color: #104181;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 160ms ease-in-out;
    flex-grow: 1; /* Faz os botões ocuparem o espaço restante */
    margin: 5px; /* Espaçamento entre os botões */
    min-width: 100px; /* Define uma largura mínima para os botões */
}

.bttn:hover {
    background-color: #0d3b71;
}

/* Estilo da tabela de funcionários */
.reports-table th:first-child, .employees-table th:first-child {
    border-top-left-radius: 8px; /* Aplica borda arredondada no topo esquerdo */
}

.reports-table th:last-child, .employees-table th:last-child {
    border-top-right-radius: 8px; /* Aplica borda arredondada no topo direito */
}

.reports-table td:first-child, .employees-table td:first-child {
    border-bottom-left-radius: 8px; /* Aplica borda arredondada no fundo esquerdo */
}

.reports-table td:last-child, .employees-table td:last-child {
    border-bottom-right-radius: 8px; /* Aplica borda arredondada no fundo direito */
}

.reports-table, .employees-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    margin-bottom: 30px;
    table-layout: fixed; /* Define um layout fixo para a tabela */
    position: relative;
    overflow: visible; 
    z-index: 1;
}

.reports-table th, .employees-table th {
    color: #fff;
    background-color: #104181;
    font-size: 16px;
    width: 20%; /* Defina a largura das colunas (ajuste conforme necessário) */
    padding: 12px;
}

.employees-table td, .employees-table th {
    border: 1px solid #DDEEF6;
    text-align: center;
    text-overflow: ellipsis; /* Adiciona reticências se o texto for muito longo */
    padding-left: 10px;
    padding-right: 10px;
    position: relative; /* Para permitir que o tooltip seja posicionado corretamente */
    overflow: visible; /* Permite o transbordo do tooltip */
}

.reports-table td, .reports-table th {
    border: 1px solid #DDEEF6;
    text-align: center;
    white-space: nowrap; /* Impede a quebra de linha */
    text-overflow: ellipsis; /* Adiciona reticências se o texto for muito longo */
    padding: 12px;
    white-space: normal;
}

.reports-table .bold {
    text-align: center; /* Alinha o texto das linhas 'QUALIDADE', 'PRODUTIVIDADE' e 'ATITUDES' ao centro */
    min-width: 150px; /* Defina uma largura mínima para garantir que não cortem as palavras */
    white-space: normal; /* Permite que o texto quebre linhas */
    font-weight: bold;
}

.reports-table .question {
    text-align: left;
}

.reports-table tr, .employees-table tr {
    background-color: #ffffff;
    position: relative; /* Para permitir que o tooltip seja posicionado corretamente */
}

.reports-table tr:hover, .employees-table tr:hover {
    background-color: #ddd;
    position: relative; /* Para permitir que o tooltip seja posicionado corretamente */
}

.actions {
    display: flex;
    align-items: center;
    justify-content: center; /* Centralizar o ícone horizontalmente */
}

.actions a, .actions button {
    display: flex;
    justify-content: center; /* Centralizar o ícone horizontalmente */
    align-items: center; /* Centralizar o ícone verticalmente */
    width: 40px; /* Largura do quadrado */
    height: 40px; /* Altura do quadrado */
    border-radius: 5px; /* Bordas arredondadas */
    color: white; /* Cor do ícone */
    font-size: 15px; /* Tamanho do ícone */
    text-decoration: none; /* Remover o sublinhado */
    margin-left: 4px;
    margin-right: 4px;
}

/* Barra de progresso */
.progress {
    height: 20px;
    background-color: #e9ecef;
    border-radius: 5px;
}

.progress-bar {
    background-color: #104181;
    border-radius: 5px;
}

/* Botões de ações da tabela */
.btn-primary {
    background-color: #104181 !important;
    color: #fff !important;
}

.btn-primary:hover {
    background-color: #032857 !important;
}

.btn-warning {
    background-color: #ffc107 !important;
    color: #212529 !important;
}

.btn-warning:hover {
    background-color: #e0a800 !important;
}

.btn-delete {
    background-color: #dc3545 !important;
    color: #fff !important;
}

.btn-delete:hover {
    background-color: #c82333 !important;
}

/* ---ANALYSIS FORM--- */
.page-form{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: #DDEEF6;
    padding-top: 3%;
    padding-bottom: 3%;
    
}

.questions {
    display: inline-flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    gap: 5px;
    margin: 20px;
    align-items: center;
}

.formAnalysis {
    display: inline-flex;
    flex-direction: column;
    background-color: #DDEEF6;
    width: 70%;
}

.formAnalysis h1 {
    padding-bottom: 3%;
    margin: 0;
    font-weight: 700;
    font-size: 25px;
    text-align: center;
}

.formAnalysis p {
    display: inline-block;
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.formAnalysis input{
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
    margin-top: 5px;
    border-radius: 4px;
    transition: all linear 160ms;
    outline: none;
}

.formAnalysis input:focus {
    border: 1px solid #104181;
}

.formAnalysis label {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    padding: 10px;
}

.formAnalysis .title{
    font-size: 19px;
    font-weight: 600;
    text-align: center;

  }

.formAnalysis a, h3 {
    display: inline-block;
    margin-bottom: 15px;
    font-size: 14px;
    color: #555;
    transition: all linear 160ms;
    text-align:center;
}

.formAnalysis a:hover {
  color: #104181;
}

.radio{
    display: inline-block;
    text-align:center;
}

.radio input, .radio label {
    padding-right: 3%;
    padding-top: 2%;
    padding-bottom: 2%;
}

.text {
    display: flex;
    justify-content: space-between; /* Garante o espaçamento igual entre os grupos */
    gap: 20px; /* Ajuste o valor conforme necessário para definir o espaço */
    padding-top: 10px;
}

.text label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.text textarea:focus {
    border-color: #104181;
    box-shadow: 0 0 5px rgba(16, 65, 129, 0.3);
}

.btn-form {
    background-color: #104181;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    width: 25%;
    border: none !important;
    transition: all linear 160ms;
    cursor: pointer;
    margin-bottom: 20px;
}

.btn-form:hover {
    background-color: #032857;
    color:  #DDEEF6;
}

.textarea-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%; /* Ajuste para que ocupem a mesma largura */
}

.radio, .text {
    display: flex;
    justify-content: space-evenly;
    width: 100%; /* Faz com que as divs ocupem a largura total */
    max-width: 800px; /* Ajuste conforme necessário */
    margin-top: 15px;
}

.textarea-group textarea {
    width: 100%; /* Ocupará a largura total do container */
    padding: 8px;
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid #ccc;
    resize: vertical;
    transition: border-color 0.3s;
    outline: none;
    overflow: hidden;
}

.textarea-group label {
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 4px;
}

/*INFORMATIONS*/

.info-icon {
    display: inline-block;
    text-align: center;
    cursor: pointer;
    position: relative;
}

#info-blue {
    color: #104181;
}

#info-whithe {
    color: #ffffff;
}

.tooltip-text {
    visibility: hidden;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    bottom: 110%;
    left: 50%;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 16px;
    z-index: 9999; /* Garante que o tooltip esteja acima de outros elementos */
}

#big {
    width: 600px;
    margin-left: -300px;
}

#small {
    width: 300px;
    margin-left: -150px;
}

.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.info-icon:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
    z-index: 9999; /* Garante que o tooltip esteja acima de outros elementos */
}

.hidden {
    display: none;
}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 5px;
    z-index: 1000;
    width: 60%;
    max-width: 600px;
    max-height: 80%;
    overflow-y: auto;
    
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.popup h3{
    font-weight: bold;
    font-size: 15px;
    text-align: center;
}

.popup p{
    font-size: 14px;
}

.toggle-container {
    margin: 20px;
}

.toggle-content {
    display: none;
}

/* CSS */
.blocked {
    background-color: #e9ecef;; /* Cor para indicar bloqueio */
    cursor: not-allowed; /* Cursor para mostrar que está bloqueado */
}
